package main

import (
	"828/config"
	"828/inits"
	"828/routs"
	"github.com/gin-gonic/gin"
)

func main() {
	router := gin.Default()
	routs.Route(router)
	config.ConfigInit()
	inits.InitRedis()
	inits.InitMysql()
	router.Run() // 监听并在 0.0.0.0:8080 上启动服务
}
